﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ShoppingApp2.DAL;

namespace ShoppingApp2.Controls
{
    public partial class CtrlLogin : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// Register button clicked
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnLogin_Click(object sender, EventArgs e)
        {
            UsersDAL dal = new UsersDAL("");
            dal.CreateUser(new Common.Models.UserModelExt());
        }
    }
}